Skip to content

chore: fix build script#1242

Merged
Garbee merged 1 commit into
developfrom
garbee/fix-build
Oct 27, 2025
Merged

chore: fix build script#1242
Garbee merged 1 commit into
developfrom
garbee/fix-build

Conversation

@Garbee
Copy link
Copy Markdown
Member

@Garbee Garbee commented Oct 27, 2025

Only run build scripts if present in the workspaces. For the test workspaces that don't need a build, this removes those that are defined as just empty echos.

Fixes: #1238

@Garbee Garbee self-assigned this Oct 27, 2025
Copilot AI review requested due to automatic review settings October 27, 2025 14:32
@Garbee Garbee requested a review from a team as a code owner October 27, 2025 14:32
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes the build script to only run in workspaces that actually need it. The change adds the --if-present flag to the root build command and removes placeholder build scripts from test workspaces that don't require builds.

  • Added --if-present flag to the root npm run --workspaces build command
  • Removed empty/placeholder build scripts from test/wdio and test/axe-core workspaces

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
package.json Added --if-present flag to workspace build command to skip workspaces without build scripts
test/wdio/package.json Removed placeholder build script that only echoed a message
test/axe-core/package.json Removed placeholder build script that only echoed a message

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Copy Markdown
Contributor

@scottmries scottmries left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TIL about --if-present. Nice work.

@Garbee Garbee enabled auto-merge (squash) October 27, 2025 14:37
@Garbee Garbee merged commit 042b7fa into develop Oct 27, 2025
30 checks passed
@Garbee Garbee deleted the garbee/fix-build branch October 27, 2025 14:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update deployment workflow to use OIDC

3 participants